//
// Created by black on 24-6-25.
//

#ifndef TDTRPROCESS_ORDERED_H
#define TDTRPROCESS_ORDERED_H


class Ordered {
public:
    virtual ~Ordered() = default;

    virtual int getOrder() const = 0;

    static bool compareOrderable(const Ordered* lhs, const Ordered* rhs);
};


#endif //TDTRPROCESS_ORDERED_H
